package com.dime.basic.mapper;

import java.util.List;
import com.dime.basic.api.domain.DimeBaseoccupationaldiseasecriterion;

/**
 * 职业诊断标准职业病Mapper接口
 * 
 * @author Tiny
 * @date 2023-10-13
 */
public interface DimeBaseoccupationaldiseasecriterionMapper 
{
    /**
     * 查询职业诊断标准职业病
     * 
     * @param id 职业诊断标准职业病主键
     * @return 职业诊断标准职业病
     */
    public DimeBaseoccupationaldiseasecriterion selectDimeBaseoccupationaldiseasecriterionById(String id);

    /**
     * 查询职业诊断标准职业病列表
     * 
     * @param dimeBaseoccupationaldiseasecriterion 职业诊断标准职业病
     * @return 职业诊断标准职业病集合
     */
    public List<DimeBaseoccupationaldiseasecriterion> selectDimeBaseoccupationaldiseasecriterionList(DimeBaseoccupationaldiseasecriterion dimeBaseoccupationaldiseasecriterion);

    /**
     * 新增职业诊断标准职业病
     * 
     * @param dimeBaseoccupationaldiseasecriterion 职业诊断标准职业病
     * @return 结果
     */
    public int insertDimeBaseoccupationaldiseasecriterion(DimeBaseoccupationaldiseasecriterion dimeBaseoccupationaldiseasecriterion);

    /**
     * 修改职业诊断标准职业病
     * 
     * @param dimeBaseoccupationaldiseasecriterion 职业诊断标准职业病
     * @return 结果
     */
    public int updateDimeBaseoccupationaldiseasecriterion(DimeBaseoccupationaldiseasecriterion dimeBaseoccupationaldiseasecriterion);

    /**
     * 修改职业诊断标准职业病
     *
     * @param dimeBaseoccupationaldiseasecriterion 职业诊断标准职业病
     * @return 结果
     */
    public int updateDimeBaseoccupationaldiseasecriterionByOccupationaldiseaeId(DimeBaseoccupationaldiseasecriterion dimeBaseoccupationaldiseasecriterion);


    /**
     * 删除职业诊断标准职业病
     * 
     * @param id 职业诊断标准职业病主键
     * @return 结果
     */
    public int deleteDimeBaseoccupationaldiseasecriterionById(String id);

    /**
     * 批量删除职业诊断标准职业病
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDimeBaseoccupationaldiseasecriterionByIds(String[] ids);

    public int deleteDimeBaseoccupationaldiseasecriterionByCriterionId(String criterionId);
}

